package cn.epsilon3.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.lang.annotation.*;

/**
 * Service访问路径
 *
 * @author epsilon3
 */
@Documented
@RestController
@RequestMapping
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface E3Service {

    @AliasFor(
            annotation = RequestMapping.class
    )
    String path() default "";
}
